﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Service.BusinessLayer.Entities;
using Service.DataAccess.DataAccessLogic;

namespace Service.BusinessLayer.Logic
{
    public class XL_SoGiao
    {
        private SoGiao_DA sgda = new SoGiao_DA();
        public void them(SoGiao sg)
        {
            sgda.them(sg);
        }
        public void sua(SoGiao sg)
        {
            sgda.sua(sg);
        }
        public void xoa(string masg)
        {
            sgda.xoa(masg);
        }
        public DataSet LayDS()
        {
            DataSet ds = new DataSet();
            ds = sgda.LayDS();
            return ds;
        }
        public DataSet LayDS_TheoNgayGiao(DateTime ngaygiao)
        {
            DataSet ds = new DataSet();
            ds = sgda.LayDS_TheoNgayGiao(ngaygiao);
            return ds;
        }
        public DataSet LayDS_NhanGiaoHang_Theo_KH(int MaKH, DateTime NgayGiao)
        {            
            DataSet ds = new DataSet();
            ds = sgda.LayDS_NhanGiaoHang_Theo_KH(MaKH, NgayGiao);
            return ds;
        }
    }
}
